package com.first.agent.service;

import com.first.agent.common.JsonResult;
import com.first.agent.common.R;
import com.first.agent.pojo.AgentCustomer;
import com.first.agent.pojo.Contacts;
import com.first.agent.pojo.Keyword;

/**
 * Created with IntelliJ IDEA.
 * User: lxm
 * Date: 2022/11/15 9:48
 * Description:
 * Version: V1.0
 */
public interface CustomerService {
    JsonResult customerTable(int page,int limit,String customerName);
    R addCustomer(AgentCustomer customer, Contacts contacts);
    R delCustomer(String cus_id,String state);
    R openCustomer(String cus_id,String state);
    R updateCustomer(AgentCustomer customer, Contacts contacts);
    R addKeyWords(Keyword keyword);
    R keyWordCustomerSearch(String customer);
}
